import { Routes, RouterModule }  from '@angular/router';
import {InfoComponent} from "./info.component";
import {DeviceInfoComponent} from "./device-info/device-info.component";

const routes:Routes = [
  { path: '', component: InfoComponent },
  { path: 'deviceinfo/:deviceId', component: DeviceInfoComponent }
];

export const InfoRoute = RouterModule.forChild(routes);
